@import "function";
body {
    min-width: 320px;
    font-family: 'Microsoft Yahei', Helvetica, arial, sans-serif;
}


/** {
    border: 1px solid #000;
}*/

.scale {
    //position: relative;
    width: 100%;
    margin: 0 auto  pxToRem(76px);
    height: 100%;
    background: #fff;
}

.short-info {
    height: 330px!important;
    overflow-x: hidden;
    overflow-y: auto;
    &>.warp {
        top: 0;
        left: 0;
    }
}

.pctb-container {
    width: 100%;
    overflow: hidden;
    .list-box {
        width: 100%;
        //height: 100%;
        // position: relative;
        overflow: hidden;
        // @include center-children;
        // justify-content: space-between;
        // flex-direction: column;
        padding-bottom: 4rem;
        img {
            width: 100%;
        }
    }
    .content-info{
        width: 100%;
        overflow: hidden;
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 9;
        height: pxToRem(55px);
    }
    .content-info ul {
        width: 100%;
    }
    .content-info li {
        background: #ffffff;
        @include center-children;
        align-items: center;
        justify-content: center;
        align-items: center;
        height: pxToRem(55px);
        .header-lay {
            padding-left: pxToRem(10px);
            display: flex;
            justify-content: center;
            align-items: center;
            img {
                width: pxToRem(40px);
                height: pxToRem(40px);
                border-radius: 50%;
            }
        }
        .btn-lay {
            width: pxToRem(80px);
            display: flex;
            justify-content: center;
            a {
                width: pxToRem(60px);
                height: pxToRem(24px);
                font-size: pxToRem(12px);
                font-weight: 600;
                display: flex;
                justify-content: center;
                align-items: center;
                background: #000000;
                color: #9B9A9B;
                border-radius: pxToRem(6px);
            }
        }
        .btn-lay .past {
            background: #EEEEEE;
            color: #a3aec8;
        }
    }
    .content-info li .user-head {
        width: pxToRem(40px);
        height: pxToRem(40px);
        border-radius: 50%;
        background: #fff;
        padding: pxToRem(2px);
    }
    .content-info li span {
        color: #ffe400;
    }
    .content-info li .list-info {
        display: flex;
        justify-content: center;
        flex-direction: column;
        font-weight: bold;
        margin-left: 14px;
        flex: 1;
        .nickname {
            color: #000;
            font-size: pxToRem(14px);
            line-height: pxToRem(18px);
        }
        .id {
            * {
                color: #8c8c8c;
                font-size: pxToRem(10px);
                line-height: pxToRem(18px);
            }
        }
    }
    // .role-info {
    //     position: fixed;
    //     left: 0;
    //     bottom: 0;
    // }
    .alert_tip {
        width: 60%;
        background: rgba(0, 0, 0, 0.6);
        padding: 10px 0;
        display: none;
        font-size: 12pt;
        border-radius: 5px;
        position: fixed;
        top: 40%;
        left: 50%;
        margin-left: -30%;
        z-index: 999999;
        color: #fff;
        text-align: center;
    }
}
.red {
    color: #D13100;
    margin-left: pxToRem(5px);
}

.toast {
    background: rgba(0, 0, 0, .8);
    border-radius: 1rem;
    color: #fff;
    padding: 0 .8rem;
    height: 2rem;
    line-height: 2rem;
    font-size: .8rem;
    width: auto;
    position: fixed;
    z-index: 11000;
    left: 50%;
    margin-left: -6.75rem;
    margin-top: 0;
    top: 50%;
    text-align: center;
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(1.185);
    transition-property: transform, opacity;
    display: none;
}

.toast-in {
    opacity: 1;
    transition-duration: .4s;
    transform: translate3d(0, 0, 0) scale(1);
}

.toast-out {
    opacity: 0;
    z-index: 10999;
    transition-duration: .4s;
    transform: translate3d(0, 0, 0) scale(.815)
}

.layout {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 999;
}

.brower_tips {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    .tips_img {
        position: absolute;
        right: 20px;
        top: 10px;
        z-index: 2;
    }
    .brower_tips_bg {
        position: absolute;
        width: 100%;
        height: 200%;
        opacity: 0.7;
        z-index: 1;
        background: #000;
    }
}

.weui-switch {
    appearance: none;
}

.weui-switch,
.weui-switch-cp__box {
    position: relative;
    width: 36px;
    height: 22px;
    border: 1px solid #DFDFDF;
    outline: 0;
    border-radius: 16px;
    box-sizing: border-box; 
    background-color: #DFDFDF;
    transition: background-color .1s, border .1s;
    &:before {
        content: " ";
        position: absolute;
        top: 0;
        left: 0; 
        width: 34px;
        height: 20px;
        border-radius: 15px;
        background-color: #FDFDFD;
        transition: transform .35s cubic-bezier(0.45, 1, 0.4, 1);
    }
    &:after {
        content: "弹";
        position: absolute;
        top: 0;
        left: 0;
        width: 20px;
        height: 20px;
        text-align: center;
        line-height: 20px;
        font-size: 12px;
        color: #7C7C7C;
        border-radius: 50%;
        background-color: #FFFFFF;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
        transition: transform .35s cubic-bezier(0.4, 0.4, 0.25, 1.35);
    }
}

.weui-switch:checked,
.weui-switch-cp__input:checked~.weui-switch-cp__box {
    border-color: #04BE02;
    background-color: #04BE02;
    &:before {
        transform: scale(0);
    }
    &:after {
        transform: translateX(14px);
    }
}

.go-back,
.index-container .content-info .go-back {
    position: absolute;
    // position: fixed;
    left: 0;
    top: pxToRem(21px);
    z-index: 500;
    a {
        display: block;
        padding-left: pxToRem(25px);
        // height: pxToRem(18px);
        font-size: pxToRem(15px);
        color: #a0a0a0;
        background: {
            repeat: no-repeat;
            size: pxToRem(8px);
            image: url(https://image.yuzijiang.tv/web/casting/img/back.png);
            position: pxToRem(10px) center;
        }
        // &:before {
        //     content: url(https://image.yuzijiang.tv/web/casting/img/back.png);
        //     zoom: .45;
        //     vertical-align: middle;  
        //     display: inline-block;
        //     margin-right: 10px;
        // }
    }
}

.go-user {
    position: fixed;
    bottom: pxToRem(14px);
    right: pxToRem(14px);
    z-index: 500;
    a {
        // display: block;
        width: pxToRem(48px);
        height: pxToRem(48px);
        display: flex;
        align-items: center;
        justify-content: center;
        background: {
            image: url(https://image.yuzijiang.tv/web/casting/img/goto_my.png);
            size: pxToRem(48px);
        }
    }
    img {
        height: 100%;
        width: 100%;
        border-radius: 50%;
    }
}

.visibility-hidden {
    visibility: hidden;
}

.overflow-hidden {
    overflow: hidden;
}

.height-max {
    height: 100%;
}

.text-overflow {
    word-break: keep-all;
    /* 不换行 */
    white-space: nowrap;
    /* 不换行 */
    overflow: hidden;
    /* 内容超出宽度时隐藏超出部分的内容 */
    text-overflow: ellipsis;
    /* 当对象内文本溢出时显示省略标记(...) ；需与overflow:hidden;一起使用。*/
}

.shink-0 {
    flex-shrink: 0;
}

.position-absolute {
    position: absolute;
}

.position-fixed {
    position: fixed;
}

.confirm-info {
    display: none;
    position: fixed;
    background: #FFFFFF;
    width: pxToRem(301px);
    height: pxToRem(196px);
    border-radius: pxToRem(5px);
    top: 50%;
    left: 50%;
    margin: {
        top: -(pxToRem(98px));
        left: -(pxToRem(150px));
    }
    z-index: 1000;
    @include center-children;
    flex-direction: column;
    justify-content: space-between;
    .content {
        height: pxToRem(120px);
        @include center-children;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .choose-info {
        flex-shrink: 0;
        @include center-children;
        justify-content: space-between;
        padding: pxToRem(9px);
        &>div {
            flex: 1;
            @include center-children;
            align-items: center;
            justify-content: center;
            a {
                border: 2px solid #DFDFDF;
                border-radius: pxToRem(21px);
                @include center-children;
                align-items: center;
                justify-content: center;
                width: pxToRem(126px);
                height: pxToRem(41px);
                font-size: pxToRem(15px);
            }
        }
        .comfirm {
            a {
                background: #FFDE0A;
                border-color: transparent;
            }
        }
    }
}

.layout-activity {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 999;
}